#
# iniparser tests Makefile
#

CC      := gcc
LD      := gcc
CFLAGS  := -ggdb3 -Wall 
INC_DIR := ../
LDFLAGS  := 
AR	    := ar
ARFLAGS += rcv
RM      := rm -f

SRCS := $(wildcard *.c ../*.c)
OBJS := $(SRCS:%.c=%.o)

TARGET  := example_iniparser_1

all: $(OBJS)
	$(LD) $(OBJS) -o $(TARGET) $(LDFLAGS)

%.o: %.c
	$(CC) $(CFLAGS) -I$(INC_DIR) -c $< -o $@	

clean veryclean:
	$(RM) $(TARGET)  $(OBJS)



